package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.TreeDO;
import com.sdleyou.treepro.common.model.vo.TreeVO;
import org.springframework.beans.BeanUtils;

public class TreeDO2TreeVOConverter {
    public static TreeVO convert(TreeDO treeDO) {
        TreeVO treeVO = new TreeVO();
        BeanUtils.copyProperties(treeDO, treeVO);
        return treeVO;
    }
}
